# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=otf-latin-modern
pkgver=2.004
pkgrel=4
pkgdesc="Improved version of Computer Modern fonts as used in LaTeX"
arch=('any')
url="http://www.gust.org.pl/projects/e-foundry/latin-modern"
license=('custom:GFL')
source=("${url}/download/lm${pkgver}otf.zip"
        "${url%/*}/licenses/GUST-FONT-LICENSE.txt")
sha256sums=('5b0236051d3728be6616f1b274e3b910473875b5a3ef9382f0ef00384ddb161b'
            'a746108477b2fa685845e7596b7ad8342bc358704b2b7da355f2df0a0cb8ad85')

package() {
    install -Dm644 *.otf -t "${pkgdir}"/usr/share/fonts/OTF/
    install -Dm644 GUST-FONT-LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/GFL.txt
}
